package com.have.blog.model.models;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class Picture implements Serializable {
    @ApiModelProperty(value = "唯一uid")
    private Integer uid;

    @ApiModelProperty(value = "图片url")
    private String localUrl;

    @ApiModelProperty(value = "图片名")
    private String picName;

    @ApiModelProperty(value = "分类uid")
    private Integer pictureCategoryUid;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "文件来源uid")
    private Integer fileSourceUid;

    @ApiModelProperty(value = "图片扩展名")
    private String picExpendName;

    @ApiModelProperty(value = "上传用户uid")
    private Integer userUid;

    @ApiModelProperty(value = "文件大小")
    private Double picSize;

    @ApiModelProperty(value = "上传管理员uid")
    private Integer adminUid;

    @ApiModelProperty(value = "图片老名称")
    private String picOldName;

    @ApiModelProperty(value = "七牛云url")
    private String qiniuUrl;

    @ApiModelProperty(value = "minio url")
    private String minioUrl;

    private static final long serialVersionUID = 1L;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getLocalUrl() {
        return localUrl;
    }

    public void setLocalUrl(String localUrl) {
        this.localUrl = localUrl;
    }

    public String getPicName() {
        return picName;
    }

    public void setPicName(String picName) {
        this.picName = picName;
    }

    public Integer getPictureCategoryUid() {
        return pictureCategoryUid;
    }

    public void setPictureCategoryUid(Integer pictureCategoryUid) {
        this.pictureCategoryUid = pictureCategoryUid;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getFileSourceUid() {
        return fileSourceUid;
    }

    public void setFileSourceUid(Integer fileSourceUid) {
        this.fileSourceUid = fileSourceUid;
    }

    public String getPicExpendName() {
        return picExpendName;
    }

    public void setPicExpendName(String picExpendName) {
        this.picExpendName = picExpendName;
    }

    public Integer getUserUid() {
        return userUid;
    }

    public void setUserUid(Integer userUid) {
        this.userUid = userUid;
    }

    public Double getPicSize() {
        return picSize;
    }

    public void setPicSize(Double picSize) {
        this.picSize = picSize;
    }

    public Integer getAdminUid() {
        return adminUid;
    }

    public void setAdminUid(Integer adminUid) {
        this.adminUid = adminUid;
    }

    public String getPicOldName() {
        return picOldName;
    }

    public void setPicOldName(String picOldName) {
        this.picOldName = picOldName;
    }

    public String getQiniuUrl() {
        return qiniuUrl;
    }

    public void setQiniuUrl(String qiniuUrl) {
        this.qiniuUrl = qiniuUrl;
    }

    public String getMinioUrl() {
        return minioUrl;
    }

    public void setMinioUrl(String minioUrl) {
        this.minioUrl = minioUrl;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", uid=").append(uid);
        sb.append(", localUrl=").append(localUrl);
        sb.append(", picName=").append(picName);
        sb.append(", pictureCategoryUid=").append(pictureCategoryUid);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", fileSourceUid=").append(fileSourceUid);
        sb.append(", picExpendName=").append(picExpendName);
        sb.append(", userUid=").append(userUid);
        sb.append(", picSize=").append(picSize);
        sb.append(", adminUid=").append(adminUid);
        sb.append(", picOldName=").append(picOldName);
        sb.append(", qiniuUrl=").append(qiniuUrl);
        sb.append(", minioUrl=").append(minioUrl);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}